/*
 * 登录页面
 * 
 * */
return function(){
    $('#login').scroll(function () {
        var scr_top = $('#login').scrollTop();//滚动高度
        var win_top = $('#login').height();//屏幕高度
        var bk1_top = $('.g-inmain-list2').offset().top + scr_top;
        var bk2_top = $('.g-inmain-list5').offset().top + scr_top;
        var bj1 = 1000*3;//可滚动高度
        var bj2 = 580*3;
        if(scr_top > 100){
            $('.g-top2').addClass('fix')
        }else{
            $('.g-top2').removeClass('fix')
        }
        if(scr_top - bk1_top + win_top > 0){
            var back1y = -(scr_top - bk1_top + win_top > bj1?bj1:scr_top - bk1_top + win_top);
            $('.g-inmain-list2 p').css({'background-position-y':-600+(back1y/3)+'px'})
        }
        if(scr_top - bk2_top + win_top > 0){
            var back1y = -(scr_top - bk2_top + win_top > bj2?bj2:scr_top - bk2_top + win_top);
            $('.g-inmain-list5-bj').css({'background-position-y':-100+(back1y/3)+'px'})
        }
    });

    $('.g-tit-main_p5').click(function(){
        var scr_top = $('#login').scrollTop();//滚动高度
        var scr_min = $(".g-index-main").offset().top - 50 + scr_top;
        $('#login').animate({scrollTop:scr_min}, 200);
    })
}